import request from '@/utils/request'
// 获取购物车数据
export const getCartGoodsList = () => request({ url: '/cart/index' })
// 商品选中状态
export const setGoodsChecked = (data) => request({ url: '/cart/checked', method: 'post', data })
// 删除商品
export const delCartGoods = (data) => request({ url: '/cart/delete', method: 'post', data })
// 商品步进器
export const updateCartGoods = (data) => request({ url: '/cart/update', method: 'post', data })
